<!DOCTYPE html>
<html lang="en" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>欢迎登录xxx系统！</h1><br/>
    <h2>我是服务器：<span th:text="${#request.getLocalPort()}"></span></h2>
    <h2>当前sessionId：<span th:text="${#session} == null ? 'session为空' : ${#session.getId()}"></span></h2>
</body>
</body>
</html>